package cn.iocoder.yudao.module.promotion.convert.quickcombinationactivity;

import cn.iocoder.yudao.module.promotion.api.quickcombination.dto.QuickCombinationRecordCreateReqDTO;
import cn.iocoder.yudao.module.promotion.controller.admin.quickcombinationactivity.vo.record.QuickCombinationRecordRespVO;
import cn.iocoder.yudao.module.promotion.dal.dataobject.quickcombinationactivity.QuickCombinationRecordDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface QuickCombinationRecordConvert {
    QuickCombinationRecordConvert INSTANCE = Mappers.getMapper(QuickCombinationRecordConvert.class);

    QuickCombinationRecordDO convert(QuickCombinationRecordCreateReqDTO createDTO);

    QuickCombinationRecordRespVO convert(QuickCombinationRecordDO bean);

    List<QuickCombinationRecordRespVO> convertList(List<QuickCombinationRecordDO> beanList);
}
